package com.turnengine.client.local.alliance.command.set;

import com.javabi.codebuilder.generated.IGeneratedCommandSet;
import com.turnengine.client.local.alliance.bean.IAlliance;
import java.util.List;

/**
 * The I Local Alliance Command Set.
 */
public interface ILocalAllianceCommandSet extends IGeneratedCommandSet {

	int getAllianceCount(long loginId, int instanceId);

	int getAllianceMemberCount(long loginId, int instanceId, int id);

	IAlliance getAllianceById(long loginId, int instanceId, int id);

	IAlliance getAllianceByName(long loginId, int instanceId, String name);

	IAlliance formAlliance(long loginId, int instanceId, String name);

	Boolean disbandAlliance(long loginId, int instanceId);

	Boolean leaveAlliance(long loginId, int instanceId);

	Boolean inviteToJoinAlliance(long loginId, int instanceId, int playerId);

	Boolean requestToJoinAlliance(long loginId, int instanceId, int allianceId);

	Boolean kickAllianceMember(long loginId, int instanceId, int playerId);

	List<Integer> getInvitedToJoinAllianceList(long loginId, int instanceId, int allianceId);

	int getAllianceInviteLimit(long loginId, int instanceId);

	int setAllianceInviteLimit(long loginId, int instanceId, int limit);

	int getAllianceMemberLimit(long loginId, int instanceId);

	int setAllianceMemberLimit(long loginId, int instanceId, int limit);

	Boolean setAlliancesEnabled(long loginId, int instanceId, boolean enabled);

	List<IAlliance> getAllianceList(long loginId, int instanceId);
}
